home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / zip / portfoli / bootst11.lzh / PF BOOTSTRAP VA2%!$-% next >
Text File  |  1991-05-16  |  5KB  |  139 lines

  1. pf-bootstrap v1.1a
  2. ------------------
  3. This is a short package that I have put together so that one can do
  4. effective file-transfers between a Sun and an Atari Portfolio palmtop
  5. computer using the serial interface.  To create this I have combined
  6. parts of the following packages:
  7.  
  8.         xmodem 3.9 -- from comp.sources.unix, I think
  9.         tipx -- patches to extend 4.3BSD tip for 8 bit xfers,
  10.             from comp.sys.misc
  11.         tip -- from uunet.uu.net:/communications/tip.tar.Z
  12.         slip -- Rayan Zachariassen's SunOS 4.0 SLIP package;
  13.             I actually just took a single include from this.
  14.         pfboot -- the MSDOS Portfolio bootstrapping package
  15.         xterm2 -- the newest version I know of
  16.  
  17. This can probably be considered an alpha version, as I have only tried
  18. it out with the following configuration:  Sun SPARCstation SLC, SunOS
  19. 4.1.  It will probably run on most Suns with SunOS 4.0 and up, and
  20. shouldn't be too tough to get working with other BSD based systems.
  21.  
  22. There are two phases to communication with the Portfolio:
  23.  
  24.     1) Bootstrapping the PF to get a terminal program on it.  If
  25.        you have a RAM card drive, or a parallel interface you can
  26.        just copy xterm2.com over and forget about the various
  27.        other stuff that is otherwise done at this step.
  28.  
  29.     2) Day to day file transfers using xmodem.
  30.  
  31. ---
  32. Attach the Portfolio and Sun using a null modem cable (RECV and XMIT lines
  33. crossed).  
  34. ---
  35. 1)  Bootstrapping XTERM2.COM onto the Portfolio.
  36.  
  37. 1a) The first thing to do is to compile tipx.  This is necessary
  38.     because the SunOS tip (for ~> file transfers) doesn't support 8
  39.     bit file transfers, and IBM binaries, of course, can have any bit
  40.     characters in it.  Tipx supports the 8 bit characters, and as such
  41.     is useful for the bootstrapping process.
  42.     
  43.     A typical c-shell set of commands for the install...
  44.  
  45.     % cd tipx-p1
  46.     % vi Makefile        # edit the makefile
  47.     % make
  48.     % cp tip ~/bin/tipx    # put the tipx binary in your path
  49.     % rehash        # let the shell know about it
  50.     
  51.     Go read the (short) section about Transparent Pass-Through in the 
  52.     README.TIPX file.
  53.     
  54. 1b)  Next step: get a terminal going on the Portfolio.  First, in the 
  55.      Portfolio RS232 setup menu, set the baud rate to 110: we will be
  56.      working with the builtin DOS serial driver, which is almost
  57.      guaranteed to mess up if you push it at all. Other settings: 8 bits,
  58.      no parity, 1 stop bit.  (Hint- 110 baud is off the bottom of the menu;
  59.      you have to use the cursor keys to scroll down to it).
  60.      Be sure to select Initialize before leaving the program.
  61.  
  62.      On the sun:
  63.  
  64.     % cd pf-cmds
  65.     % setenv REMOTE `PWD`/../remote    # use this instead of /etc/remote 
  66.     % tipx pf-boot               # set for 110 baud
  67.     
  68.      Then go into tipx's Transparent Pass Through mode, and send a
  69.      couple of files:
  70.  
  71.     ~R
  72.     ~~~>hexbin.com
  73.  
  74.      At this point, move over to the PF and type:
  75.  
  76.     copy aux: hexbin.com
  77.  
  78.      After this finishes, you might compare the lengths of the two
  79.      hexbin.com files to be sure that they are the same.  Then move on
  80.      and send xterm2.hex:
  81.  
  82.     (SUN):  ~~~>xterm2.hex
  83.     (PF): copy aux: xterm2.hex
  84.  
  85.      After this happens, you will want to decode xterm2:
  86.  
  87.     (PF): binhex xterm2.hex
  88.           ren result.out xterm2.com
  89.  
  90.     After testing out xterm2 to make sure that it works, you can
  91.     delete binhex.com and xterm2.hex.
  92.  
  93. 1c) Time to set up an xmodem client on the sun.  I tried using the
  94.     xmodem clients that were originally included with tipx, however
  95.     the send client crashed whenever I tried to use it, so I tossed
  96.     them out and went with xmodem3.9 which was posted on
  97.     comp.sources.misc a while back.
  98.     
  99.     % cd xmodem-3.9
  100.     % vi Makefile            # Make any appropriate changes
  101.     % make
  102.     % cp xmodem ~/bin ; rehash    # put it where it will be found
  103.  
  104. 1d) Change the Portfolio's baud rate to 9600 baud and Initialize the
  105.     RS232 port.
  106.  
  107. 2)  You can now communicate between the PF and the Sun!  To send a file
  108.     from the Sun to the PF:
  109.  
  110.     (PF): xterm
  111.     (SUN): tip pf        # use /bin/tip, not tipx, and call @ 9600 baud
  112.     (PF): <F2> file.nam
  113.     (SUN): ~C xmodem sbp file.nam
  114.  
  115. Let me know how things work out!
  116.  
  117. -Dan Mosedale
  118. dmose@bright.math.uoregon.edu
  119.  
  120. Notes:
  121.  
  122. -If you problems, you may find it useful to copy chksum.com to the pf
  123.  as the first thing you do.  Things should chksum as follows:
  124.  
  125.     chksum.com: 309A
  126.     hexbin.com: 4080
  127.     xterm2.hex: EBCB
  128.     xterm2.com: 9A0D
  129.  
  130. -The only thing I've taken from the Sun slip implementation is an include
  131.  files, as tipx requires it to compile.  In order for the compile to work,
  132.  however, I had to modify the file a bit, so this version of tipx will 
  133.  almost certainly not work over slip.   
  134.  
  135. HISTORY:
  136.  
  137. v1.0 - initial release
  138. v1.1 - a bit of info added to the README file.
  139.